package com.example.springboot01.resp.enums;

public enum ClassRespEnum  implements RespEnum {

    NOT_FOUND(20002, "班级不存在"),

    ;

    private String msg;

    private int code;

    ClassRespEnum(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }

    @Override
    public int getCode() {
        return this.code;
    }
}
